package com.game.astd.spirit;

import java.util.HashMap;
import java.util.Map;


public class GameConstants
{
	public static String PLAY_USER_INFO_URL = "http://s103.as.yaowan.com/root/server!getPlayerInfoByUserId.action";// 获取用户信息url

	/**
	 * 征收模块
	 */
	public static String IMPOSE_PRE_URL = "http://s103.as.yaowan.com/root/mainCity!perImpose.action";// 征收前查询
	public static String IMPOSE_DO_URL = "http://s103.as.yaowan.com/root/mainCity!impose.action";// 执行征收
	public static String IMPOSE_FORCE_DO_URL = "http://s103.as.yaowan.com/root/mainCity!forceImpose.action";// 强征收
	public static String IMPOSE_SELECT_URL = "http://s103.as.yaowan.com/root/mainCity!selectLE.action";// 征收事件,opt=1,2

	/**
	 * 宴会模块
	 */
	public static String GET_DINNER_URL = "http://s103.as.yaowan.com/root/dinner!getAllDinner.action";// 获取所有宴会列表
	public static String DO_DINNER_TEAM_URL = "http://s103.as.yaowan.com/root/dinner!takeDinner.action";// 创建宴会分组
	public static String START_DINNER_URL = "http://s103.as.yaowan.com/root/dinner!startDinner.action";// 开始宴会
	public static String JOIN_DINNER_URL = "http://s103.as.yaowan.com/root/dinner!joinDinner.action";// 加入宴会组队：teamId

	/**
	 * 外城任务
	 */
	public static String OUTER_CITY_URL = "http://s103.as.yaowan.com/root/outCity.action";// 外城，查看外城信息

	/**
	 * 玉石任务
	 */
	public static String BOWLDER_RES_INFO_URL = "http://s103.as.yaowan.com/root/bowlderRes!getBowlderResInfo.action";// 玉石，查看
	public static String BOWLDER_RES_ATTACK_URL = "http://s103.as.yaowan.com/root/bowlderRes!attackBowlderRes.action";// 战令玉石矿resId=11&scopeId=3
	public static String BOWLDER_RES_RUSH_URL = "http://s103.as.yaowan.com/root/bowlderRes!rushHarvestBowlderRes.action";// 抢收玉石矿
																															// resId=11&scopeId=3
	public static String BOWLDER_RES_CACEL_URL = "http://s103.as.yaowan.com/root/bowlderRes!cancelHarvestBowlderRes.action";// 放弃玉石矿resId=11&scopeId=3
	/**
	 * 军团战
	 */
	public static String BATTLE_MULTI_VIEW_URL = "http://s103.as.yaowan.com/root/multiBattle!getTeamInfo.action";// 查看组队POST
	public static String BATTLE_MULTI_CREATE_TEAM_URL = "http://s103.as.yaowan.com/root/multiBattle!createTeam.action";// 创建组队POST
	public static String BATTLE_MULTI_JOIN_TEAM_URL = "http://s103.as.yaowan.com/root/multiBattle!joinTeam.action";// 加入组队POST
	public static String BATTLE_MULTI_ATTACK_URL = "http://s103.as.yaowan.com/root/multiBattle!battle.action";// 发起攻击GET
	public static String BATTLE_MULTI_QUIT_TEAM_URL = "http://s103.as.yaowan.com/root/multiBattle!quit.action";// 退出组队POST

	/**
	 * 自动战役
	 */
	public static String CAMPAIGN_CREATE_TEAM_URL = "http://s103.as.yaowan.com/root/campaign!createTeam.action";// 创建组队POSTteamId
	public static String CAMPAIGN_JOIN_TEAM_URL = "http://s103.as.yaowan.com/root/campaign!joinTeam.action";// 加入组队POSTteamId
	public static String CAMPAIGN_TEAM_INFO_URL = "http://s103.as.yaowan.com/root/campaign!getTeamInfo.action";// 查询组队POST
																												// campaignId=18
	public static String CAMPAIGN_TEAM_READY_URL = "http://s103.as.yaowan.com/root/campaign!ready.action";// 获取地图信息
	public static String CAMPAIGN_MOVE_URL = "http://s103.as.yaowan.com/root/campaign!move.action";// 地图移动

	/**
	 * 贸易
	 */
	public static String STOCK_QUERY_URL = "http://s103.as.yaowan.com/root/stock.action";// 查询贸易数据
	public static String STOCK_TRADE_URL = "http://s103.as.yaowan.com/root/stock!tradeStock.action";// 开始贸易

	/**
	 * 纺织
	 */
	public static String MAKE_QUERY_URL = "http://s103.as.yaowan.com/root/make.action";// 纺织前查询,firstAssPId 获取辅助人员 secondAssPId
	public static String MAKE_WEAVER_ASS_URL = "http://s103.as.yaowan.com/root/make!getWeaverAssInfo.action";// 获取辅助人员
	public static String MAKE_DO_WEAVER_ASS_URL = "http://s103.as.yaowan.com/root/make!make.action";// 开始纺织makeId=56
	/**
	 * 通商
	 */
	public static String CARAVAN_QUERY_URL = "http://s103.as.yaowan.com/root/general!getTrainGeneralInfo.action";// 通商前查询,firstAssPId 获取辅助人员 secondAssPId
	public static String CARAVAN_DO_URL = "http://s103.as.yaowan.com/root/general!guideGeneral.action";// 
	
	/**
	 * 验证码
	 */
	public static String VALIDATE_CODE_GET_URL = "http://s103.as.yaowan.com/root/validateCode.action";//验证码
	public static String VALIDATE_CODE_DO_URL = "http://s103.as.yaowan.com/root/validateCode!code.action";//验证码 code post
	/**
	 * 外城
	 */
	public static String OUTCITY_GET_PICKSPACE="http://s103.as.yaowan.com/root/outCity!getPickSpace.action";
	public static String OUTCITY_DO_PICKSPACE="http://s103.as.yaowan.com/root/outCity!endPick.action";//advance=0&pickSpaceId=210068&safePick=0//收取采集
	public static String OUTCITY_START_PICKSPACE="http://s103.as.yaowan.com/root/outCity!startPick.action";//开始采集
	
	public static String OUTCITY_REFINE_PICKSPACE="http://s103.as.yaowan.com/root/refine!getRefineInfo.action";//精炼
		
	public static Map<String, String> imposeEventMap = new HashMap<String, String>();// 征收事件集

	/**
	 * cache
	 */
	
	static
	{
		imposeEventMap.put("八风暴袭", "1");
		imposeEventMap.put("棒打鸳鸯", "2");
		imposeEventMap.put("不肖子孙", "2");
		imposeEventMap.put("村南一霸", "2");
		imposeEventMap.put("敌国灾民", "1");
		imposeEventMap.put("敌国逃兵", "2");
		imposeEventMap.put("敌国乱民", "2");
		imposeEventMap.put("敌国伤兵", "1");
		imposeEventMap.put("地牛翻身", "1");
		imposeEventMap.put("独眼石人", "2");
		imposeEventMap.put("恶霸事件", "2");
		imposeEventMap.put("风雨飘摇", "2");
		imposeEventMap.put("风雨祠堂", "1");
		imposeEventMap.put("飞蝗泛滥", "2");
		imposeEventMap.put("丰收之年", "1");
		imposeEventMap.put("官民同庆", "1");
		imposeEventMap.put("孤儿寡母", "1");
		imposeEventMap.put("荒山沃土", "1");
		imposeEventMap.put("黄巾军事件", "2");
		imposeEventMap.put("黄巾来犯", "1");
		imposeEventMap.put("黄巾逃兵", "5");
		imposeEventMap.put("黑衣刺客", "2");
		imposeEventMap.put("河堤决口", "1");
		imposeEventMap.put("虎啸山林", "1");
		imposeEventMap.put("江洋大盗", "2");
		imposeEventMap.put("井水泛浑", "1");
		imposeEventMap.put("井水犯浑", "1");
		imposeEventMap.put("金枝醉打", "2");
		imposeEventMap.put("路遇逃兵", "1");
		imposeEventMap.put("路遇饥民", "1");
		imposeEventMap.put("路遇马均", "2");
		imposeEventMap.put("路遇凤姐", "2");
		imposeEventMap.put("路遇左慈", "2");
		imposeEventMap.put("六月飞雪", "1");
		imposeEventMap.put("蒙面人", "2");
		imposeEventMap.put("魅影妖姬", "2");
		imposeEventMap.put("泥泞古道", "1");
		imposeEventMap.put("女飞贼", "1");
		imposeEventMap.put("清官服", "1");
		imposeEventMap.put("强抢民女", "1");
		imposeEventMap.put("欺行霸市", "1");
		imposeEventMap.put("山贼来袭", "1");
		imposeEventMap.put("山崩地裂", "2");
		imposeEventMap.put("硕鼠硕鼠", "2");
		imposeEventMap.put("使臣进献", "2");
		imposeEventMap.put("铁口仙翁", "1");
		imposeEventMap.put("逃兵事件", "1");
		imposeEventMap.put("天雷地火", "1");
		imposeEventMap.put("台风暴袭", "1");
		imposeEventMap.put("瘟疫泛滥", "1");
		imposeEventMap.put("吾国伤兵", "5");
		imposeEventMap.put("乌线追风", "2");
		imposeEventMap.put("五谷丰登", "1");
		imposeEventMap.put("为民祈雨", "2");
		imposeEventMap.put("西域番僧", "2");
		imposeEventMap.put("西域来使", "1");
		imposeEventMap.put("越狱事件", "1");
		imposeEventMap.put("抓壮丁", "2");
		imposeEventMap.put("珍禽异兽", "2");
	}
}
